from django.db import models

# Create your models here.
class Article(models.Model):
    sort = models.CharField(max_length=10)
    title = models.CharField(max_length=30)
    addtime = models.DateField(auto_now_add=True)
    changetime = models.DateField(auto_now=True)
    photo = models.CharField(max_length=20)
    content = models.CharField(max_length=20)
